import './assets/main.css'
// import lib-flexible from 'lib-flexible'
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import 'lib-flexible-zc'
import router from './router'
//引入layload
const app = createApp(App)
app.use(createPinia())
app.use(router)
// 从vant组件库引入Lazyload
import { Lazyload } from 'vant';
app.mount('#app')
// 裂图处理
app.use(Lazyload, {
   // 懒加载
   loading:'https://img1.baidu.com/it/u=3698092765,403769329&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500',
   // 裂图
   error:'https://img2.baidu.com/it/u=2814429148,2262424695&fm=253&app=138&size=w931&n=0&f=JPEG&fmt=auto?sec=1731171600&t=8ad983a90b2ce1b4efe2c0639dcb253b'
});